xen.git
21 years agobitkeeper revision 1.1177.2.1 (420cdfe0gnE29cMitOCxShEE2d_lRA)
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:40:00 +0000 (16:40 +0000)]
bitkeeper revision 1.1177.2.1 (420cdfe0gnE29cMitOCxShEE2d_lRA)

Sync w/ 2.0-testing changes.

Signed-off-by: cl349@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:28:22 +0000 (16:28 +0000)]
bitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)

Pass pointer to register set to set_pre_exception_table instead of eip.

Signed-off-by: cl349@cl.cam.ac.uk
21 years agobitkeeper revision 1.1177 (420c0fadBy7s1H_BwU5gDKjAg1MBFw)
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 01:51:41 +0000 (01:51 +0000)]
bitkeeper revision 1.1177 (420c0fadBy7s1H_BwU5gDKjAg1MBFw)

Cleanup cleanups.

Signed-off-by: chris@xensource.com
21 years agobitkeeper revision 1.1176 (420be7310q_UvcXdnsevIZbXRZHJ4g)
cl349@arcadians.cl.cam.ac.uk [Thu, 10 Feb 2005 22:58:57 +0000 (22:58 +0000)]
bitkeeper revision 1.1176 (420be7310q_UvcXdnsevIZbXRZHJ4g)

Various cleanups.

Signed-off-by: chris@xensource.com
21 years agobitkeeper revision 1.1175 (420bacd51yx4f66j0Yv3tnUwEmeDtw)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:49:57 +0000 (18:49 +0000)]
bitkeeper revision 1.1175 (420bacd51yx4f66j0Yv3tnUwEmeDtw)

Fix x86/64 SYSCALL handling. Handle return to compatibility mode as
well as long mode.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1174 (420ba3bb5kHKomeIcBm8uzF2u-A5dg)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:11:07 +0000 (18:11 +0000)]
bitkeeper revision 1.1174 (420ba3bb5kHKomeIcBm8uzF2u-A5dg)

Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/foo.bk

21 years agobitkeeper revision 1.1172.1.1 (420ba344y-TLJ8cFOVA_8bN7wd3dMw)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:09:08 +0000 (18:09 +0000)]
bitkeeper revision 1.1172.1.1 (420ba344y-TLJ8cFOVA_8bN7wd3dMw)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.1.568 (420ba33bo4Ly13qI5cHgZttHha5_-g)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:59 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.568 (420ba33bo4Ly13qI5cHgZttHha5_-g)

Change do_set_callbacks hypercall for x86/64 to not take any selector
values, but to take a syscall_entry point.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.567 (420ba30bAq55q3Qi9iVgQ6Cl1_7CNQ)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:11 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.567 (420ba30bAq55q3Qi9iVgQ6Cl1_7CNQ)

Fix asm-offsets.h dependencies.

21 years agobitkeeper revision 1.1173 (420ba26dU4VauWP5oFVWCo3QsMg0Jw)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:05:33 +0000 (18:05 +0000)]
bitkeeper revision 1.1173 (420ba26dU4VauWP5oFVWCo3QsMg0Jw)

Make everything compile again.

Signed-off-by: sos22@cl.cam.ac.uk.
21 years agobitkeeper revision 1.1172 (420b99066Xfg-68mYeFJdp4BIxo_wQ)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:26 +0000 (17:25 +0000)]
bitkeeper revision 1.1172 (420b99066Xfg-68mYeFJdp4BIxo_wQ)

Merge douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk

Signed-off-by: sos22@cl.cam.ac.uk
21 years agobitkeeper revision 1.1170.1.1 (420b98f5HLKkq19C9PxLpNFZOD2-mg)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:09 +0000 (17:25 +0000)]
bitkeeper revision 1.1170.1.1 (420b98f5HLKkq19C9PxLpNFZOD2-mg)

Make it compile in the non-crash_debug case.

21 years agobitkeeper revision 1.1171 (420b98ac0B3ughFHARZwZjaceYNFUg)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:23:56 +0000 (17:23 +0000)]
bitkeeper revision 1.1171 (420b98ac0B3ughFHARZwZjaceYNFUg)

Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk

21 years agobitkeeper revision 1.1159.1.566 (420b9859IEtfznEUT481JP1bxIJ7YA)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 17:22:33 +0000 (17:22 +0000)]
bitkeeper revision 1.1159.1.566 (420b9859IEtfznEUT481JP1bxIJ7YA)

Fix IDT handling. x86/64 doesn't need an IDT per CPU. On x86/32 I have
put the IDT copying back to where it was, very late in the boot process.
Otherwise I miss late modifications to the master IDT. This fixes
problems I was seeing with serial line interrupts getting msidirected.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1170 (420b96e4lQdbo7fzNNwrsgmrzMJExQ)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:20 +0000 (17:16 +0000)]
bitkeeper revision 1.1170 (420b96e4lQdbo7fzNNwrsgmrzMJExQ)

Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk

21 years agobitkeeper revision 1.1169 (420b96d48xPe7Ok5mXEY_QuvSxXLxw)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:04 +0000 (17:16 +0000)]
bitkeeper revision 1.1169 (420b96d48xPe7Ok5mXEY_QuvSxXLxw)

Improve documentation a little.

21 years agobitkeeper revision 1.1168 (420b96c7tDX3WAggwXBacK-2DjNySg)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:51 +0000 (17:15 +0000)]
bitkeeper revision 1.1168 (420b96c7tDX3WAggwXBacK-2DjNySg)

Trap to debugger from a fatal trap.

21 years agobitkeeper revision 1.1167 (420b96b4EStXs5M4SVJpHN9DT5wwkQ)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:32 +0000 (17:15 +0000)]
bitkeeper revision 1.1167 (420b96b4EStXs5M4SVJpHN9DT5wwkQ)

smp_send_stop sometimes reenabled interrupts.  Make sure it doesn't.

21 years agobitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)
mjw@wray-m-3.hpl.hp.com [Thu, 10 Feb 2005 17:13:35 +0000 (17:13 +0000)]
bitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)

Fixes to make the vnet module compile under 2.6.10.
Thanks to Brian Bruce for spotting the problem and
suggesting fixes.

Signed-off-by: Mike Wray <mike.wray@hp.com>
21 years agobitkeeper revision 1.1166 (420b94b19VPINEpnyrORsIwqTctjAA)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:06:57 +0000 (17:06 +0000)]
bitkeeper revision 1.1166 (420b94b19VPINEpnyrORsIwqTctjAA)

Add in a very brief description of how it's supposed to work.

21 years agobitkeeper revision 1.1165 (420b922egKp-aJPtYkOkWGp2ZSNQAA)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:56:14 +0000 (16:56 +0000)]
bitkeeper revision 1.1165 (420b922egKp-aJPtYkOkWGp2ZSNQAA)

Get rid of some annoying debug.

21 years agobitkeeper revision 1.1164 (420b9093tZfwUqS7PQW_U7NLqOc72Q)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:49:23 +0000 (16:49 +0000)]
bitkeeper revision 1.1164 (420b9093tZfwUqS7PQW_U7NLqOc72Q)

Make sure we disable the watchdog while we're in the debugger.

21 years agobitkeeper revision 1.1163 (420b8f97P8m2OsC2o8di9OVsBppT2Q)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:45:11 +0000 (16:45 +0000)]
bitkeeper revision 1.1163 (420b8f97P8m2OsC2o8di9OVsBppT2Q)

Arrange for it to work (some of the time) on modern Xen.

21 years agobitkeeper revision 1.1159.1.565 (420b7bafUdB4uOmG-Qm1AYMify0jrQ)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 15:20:15 +0000 (15:20 +0000)]
bitkeeper revision 1.1159.1.565 (420b7bafUdB4uOmG-Qm1AYMify0jrQ)

p2m and m2p tables are now 4 bytes per entry always, even on x86/64.
Fixed mapping of m2p table into kernel space on x86/64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1162 (420b71f6yarVsHEUH8wBvGFgIVSTBQ)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 14:38:46 +0000 (14:38 +0000)]
bitkeeper revision 1.1162 (420b71f6yarVsHEUH8wBvGFgIVSTBQ)

Re-sanify after merge.

21 years agobitkeeper revision 1.1161 (420b5ed6DpcotfvpA5TTxShadFd_MQ)
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 13:17:10 +0000 (13:17 +0000)]
bitkeeper revision 1.1161 (420b5ed6DpcotfvpA5TTxShadFd_MQ)

Merge with non-ancient version of Xen.

21 years agobitkeeper revision 1.1159.1.564 (420b44edsb8XzPev-TiGW16GSsCW6g)
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 11:26:37 +0000 (11:26 +0000)]
bitkeeper revision 1.1159.1.564 (420b44edsb8XzPev-TiGW16GSsCW6g)

More x86_64 stuff. Added hypercalls to register a user-space pagetable,
modify FS/GS base addresses, and switch to user mode. User mode switches
back to kernel mode automatically on executing SYSCALL instruction.
Still todo: 1. getdomaininfo needs to include pagetable_user
            2. get writable and shadow pagetables working
            3. testing
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.563 (420ac6a4CzlgvLZ7nmENZh1uJh51Ng)
iap10@freefall.cl.cam.ac.uk [Thu, 10 Feb 2005 02:27:48 +0000 (02:27 +0000)]
bitkeeper revision 1.1159.1.563 (420ac6a4CzlgvLZ7nmENZh1uJh51Ng)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.85 (420a9b72OGag4m4sDtlxM-918tbudQ)
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 23:23:30 +0000 (23:23 +0000)]
bitkeeper revision 1.1159.223.85 (420a9b72OGag4m4sDtlxM-918tbudQ)

Subject: [Xen-devel] VNET - full update

Allows vnets to compile and run under 2.6.10/xen-testing.
PATCH: vnet-cleanup.patch
Signed off by: bgb@nt-nv.com
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 19:44:49 +0000 (19:44 +0000)]
bitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)

Subject: [Xen-devel] [PATCH 1/2] netfront coding style clean-up (trivial)

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.1.562 (420a5d22B5wTDaFFOL7CfKG24g-JCA)
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:38 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.1.562 (420a5d22B5wTDaFFOL7CfKG24g-JCA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk

21 years agobitkeeper revision 1.1159.257.1 (420a5d09baXJPJiifdfGaELY297KOw)
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:13 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.257.1 (420a5d09baXJPJiifdfGaELY297KOw)

Refactor code to eliminate some code duplication.
- added gva_to_gpte
- gva_to_gpa uses gva_to_gpte now
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.561 (420a44fbc4-bx17m5WWwDlyH93ab-g)
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 17:14:35 +0000 (17:14 +0000)]
bitkeeper revision 1.1159.1.561 (420a44fbc4-bx17m5WWwDlyH93ab-g)

Some simple renaming. 'guestos' -> 'kernel'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.560 (420a3937bsia3-KUKXK3oI9TTu7gaA)
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 16:24:23 +0000 (16:24 +0000)]
bitkeeper revision 1.1159.1.560 (420a3937bsia3-KUKXK3oI9TTu7gaA)

Loads more x86_64 work. entry.S is now done so we reflect exceptions
and interrupts to the guest. The only missing parts are new hypercalls
to set FS_BASE, GS_BASE_KERN, GS_BASE_USER. Also the concept of two
L4 pagetable bases -- one for user, one for kernel.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.559 (4209e312Ii3Tsz9q9NZb2CbM0b1BzA)
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 10:16:50 +0000 (10:16 +0000)]
bitkeeper revision 1.1159.1.559 (4209e312Ii3Tsz9q9NZb2CbM0b1BzA)

More x86_64 work. do_mmu_update and update_va_mapping are now done.
Still todo: 1. exception/interrupt callbacks to guest OS
            2. OS ring 3 vs. application ring 3
            3. writable pagetables and shadow pagetables
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.558 (42097caa-4C6IJxUdk1DgyyzixbYBg)
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:59:54 +0000 (02:59 +0000)]
bitkeeper revision 1.1159.1.558 (42097caa-4C6IJxUdk1DgyyzixbYBg)

Merge tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:58:09 +0000 (02:58 +0000)]
bitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)

Subject: [Xen-devel] [PATCH] Fix initrd support for Linux 2.4/2.6

The following patch sets the default root device to be the null device.
This is the behavior Linux is launched with no root device specified in
the command line and without a device provided by the boot loader.
Previously, the default root device was set to be /dev/ram0.  This broke
initrd support.  This change was made in 2.6 to because of a bug
reported on September 14th with dynamic ipconfig.  I've recreated his
problem and looked through the code and the source of the problem was
that his kernel command line was incorrect. He was missing the BOOTP
field in the config line requiring that there be an actual root device.
This worked with 2.4 but only because 2.4 was also broken.  His patch
just introduced that bug into 2.6.
I've tested this against the 2.6 and 2.4 trees in a recent copy of
xen-unstable.  I've tested initrd support and ipconfig support
(including dynamic ip support).  They both now work as expected.
If anyone needs an initrd for testing let me know.
Regards,
--
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Signed-off-by: Anthony Liguori
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.1.557 (4209531dcD_85ru3nT6SL_v6qHidAA)
iap10@labyrinth.cl.cam.ac.uk [Wed, 9 Feb 2005 00:02:37 +0000 (00:02 +0000)]
bitkeeper revision 1.1159.1.557 (4209531dcD_85ru3nT6SL_v6qHidAA)

Subject: [PATCH] mmio-decode-movz.patch

- Handle the movz instruction in the decoder. This was necessary to get
  X working.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.1.556 (420951de12d7YPCDmxFldoqZYbe2cw)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:57:18 +0000 (23:57 +0000)]
bitkeeper revision 1.1159.1.556 (420951de12d7YPCDmxFldoqZYbe2cw)

Subject: [PATCH] pit-in-hv.patch

- Use ac_timer for PIT interrupt injection (more accurate time keeping)
- Accelerate some critical PIT I/O operations in the hypervisor
  (saves 15us per op). Cuts down guest timer interrupt handler execution time
  by a third.
- If the domain is scheduled out, make sure that interrupts are not lost
- Add a generic framework for device I/O interception

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:17:38 +0000 (23:17 +0000)]
bitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)

Fix the synchronization issues between xend and the device model at
startup time.

Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.1.554 (4209402bTjMxzBx8aPHpjveufoaubQ)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:41:47 +0000 (22:41 +0000)]
bitkeeper revision 1.1159.1.554 (4209402bTjMxzBx8aPHpjveufoaubQ)

manual merge

21 years agobitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:39:08 +0000 (22:39 +0000)]
bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)

minor stats collection addition
ian@xensource.com

21 years agobitkeeper revision 1.1159.1.553 (420919acSbg0z7dds_B0PhykDN6vYA)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:32 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.1.553 (420919acSbg0z7dds_B0PhykDN6vYA)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.256.1 (420919a4fFt2x7Ej4o_xqAI2CSYN8Q)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:24 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.256.1 (420919a4fFt2x7Ej4o_xqAI2CSYN8Q)

mmu_update fixes for x86_64. About halfway there.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.552 (420918f8LzMe7S_sxvvaHtdM_xcpYg)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:54:32 +0000 (19:54 +0000)]
bitkeeper revision 1.1159.1.552 (420918f8LzMe7S_sxvvaHtdM_xcpYg)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk

21 years agobitkeeper revision 1.1159.255.3 (420918d3OV9YNdw3dCaE6e4udrKnDA)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:53:55 +0000 (19:53 +0000)]
bitkeeper revision 1.1159.255.3 (420918d3OV9YNdw3dCaE6e4udrKnDA)

manual merge

21 years agobitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:52:18 +0000 (19:52 +0000)]
bitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)

debug memory audit cleanups + comment fix from Jon Mason.
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.255.2 (4209127er8MJffd33h0Xohwj83BUWQ)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:26:54 +0000 (19:26 +0000)]
bitkeeper revision 1.1159.255.2 (4209127er8MJffd33h0Xohwj83BUWQ)

misc VT-x cleanups
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.255.1 (420911c0Dpqzcuh7CS1OpkVP4miSbQ)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:23:44 +0000 (19:23 +0000)]
bitkeeper revision 1.1159.255.1 (420911c0Dpqzcuh7CS1OpkVP4miSbQ)

misc debug audit cleanups
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.551 (42090342LHDFQZTluOIKtDxiXyfkHA)
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 18:21:54 +0000 (18:21 +0000)]
bitkeeper revision 1.1159.1.551 (42090342LHDFQZTluOIKtDxiXyfkHA)

Initial checkin of blktap user-land tools.  These are fairly experimental,
but a few people have asked to use them.  This checkin also includes
Christian's gnbd client library code.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.550 (4208ff07n_vZmQRm3MGLW7fSFD_y4g)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 18:03:51 +0000 (18:03 +0000)]
bitkeeper revision 1.1159.1.550 (4208ff07n_vZmQRm3MGLW7fSFD_y4g)

Small naming cleanup. p.t. 'entries' and 'shift' macros now have same
naming style.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.549 (4208fb95gxAvpOu2Y6U5GTnniA8anQ)
mafetter@fleming.research [Tue, 8 Feb 2005 17:49:09 +0000 (17:49 +0000)]
bitkeeper revision 1.1159.1.549 (4208fb95gxAvpOu2Y6U5GTnniA8anQ)

Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work

21 years agobitkeeper revision 1.1159.254.1 (4208fb40ebFKAx9nnWfHPfWIPdQ9Vw)
mafetter@fleming.research [Tue, 8 Feb 2005 17:47:44 +0000 (17:47 +0000)]
bitkeeper revision 1.1159.254.1 (4208fb40ebFKAx9nnWfHPfWIPdQ9Vw)

Bug fix for free_domain_struct().
Don't dereference a pointer after we've free'd it.

21 years agobitkeeper revision 1.1159.1.548 (4208f95aAgOLAVzYN_LfO9DmE-DoNA)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:39:38 +0000 (17:39 +0000)]
bitkeeper revision 1.1159.1.548 (4208f95aAgOLAVzYN_LfO9DmE-DoNA)

ignore list clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.547 (4208f8c5CfxK9ZFrm2AcWi7LSNQ5sg)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:37:09 +0000 (17:37 +0000)]
bitkeeper revision 1.1159.1.547 (4208f8c5CfxK9ZFrm2AcWi7LSNQ5sg)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.253.1 (4208f8a54Zaz-XgC11YTHeLxPHPoZg)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:37 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.253.1 (4208f8a54Zaz-XgC11YTHeLxPHPoZg)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.1.546 (4208f897krIXzlEsP6G6V3H5URXQSg)
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:23 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.1.546 (4208f897krIXzlEsP6G6V3H5URXQSg)

fix typo
Signed-off-by: steven.hand@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.133 (4208f70bysX-Xugo-Q2_ptciUVbe_g)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:29:47 +0000 (17:29 +0000)]
bitkeeper revision 1.1159.212.133 (4208f70bysX-Xugo-Q2_ptciUVbe_g)

Use size-independent '%p' format string in preference to '%08lx'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.545 (4208ec60-ql2CB2KKyZRC_8udlW9kA)
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 16:44:16 +0000 (16:44 +0000)]
bitkeeper revision 1.1159.1.545 (4208ec60-ql2CB2KKyZRC_8udlW9kA)

Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk

21 years agobitkeeper revision 1.1159.212.132 (4208e2acn2x2RLZsxZIR12IGEO1b3A)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:52 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.212.132 (4208e2acn2x2RLZsxZIR12IGEO1b3A)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.252.1 (4208e2a42Fwe83QQfJdFQI8V302tYg)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:44 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.252.1 (4208e2a42Fwe83QQfJdFQI8V302tYg)

Reorganise mm.h to split out 32-bit and 64-bit definitions. Fix x86_64
definitions to mask out the bits that we don't care about.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.131 (4208dea93kRwptTEZzh2Dm2aH9dAKA)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:45:45 +0000 (15:45 +0000)]
bitkeeper revision 1.1159.212.131 (4208dea93kRwptTEZzh2Dm2aH9dAKA)

merge

21 years agobitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:43:01 +0000 (15:43 +0000)]
bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)

Some functions aren't static and could be (damn C language!).

I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them.  Not sure it's worth it.

1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.130 (4208dde9v8U9U_7hI23vverH97_FLQ)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:33 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.212.130 (4208dde9v8U9U_7hI23vverH97_FLQ)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.251.1 (4208dde2yO5a2hmuPJlwJg0U4vM8yA)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:26 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.251.1 (4208dde2yO5a2hmuPJlwJg0U4vM8yA)

Use p_paddr when loading Elf program segments; not p_vaddr.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.129 (4208d858olmxfMnz16ahNWDNaOt4KQ)
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:18:48 +0000 (15:18 +0000)]
bitkeeper revision 1.1159.212.129 (4208d858olmxfMnz16ahNWDNaOt4KQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk

21 years agobitkeeper revision 1.1159.249.2 (4208d80fdADS1E8W_FrA3GnIhbkDTw)
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:17:35 +0000 (15:17 +0000)]
bitkeeper revision 1.1159.249.2 (4208d80fdADS1E8W_FrA3GnIhbkDTw)

my bad.

signed-off-by: akw27@cl.cam.ac.uk

21 years agobitkeeper revision 1.1159.212.128 (4208d72fZEHIE9NOZZbr91V7R-3gUg)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:51 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.212.128 (4208d72fZEHIE9NOZZbr91V7R-3gUg)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.250.1 (4208d729hvKh9E4GWJWvFDThd8OXyA)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:45 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.250.1 (4208d729hvKh9E4GWJWvFDThd8OXyA)

More x86_64 fixes/cleanups. NB. update_va_mapping hypercalls now
accept a virtual address, *not* a "virtual page number".
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.249.1 (4208d0edi9hSgBaQl0hrDcYiEH0yxg)
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 14:47:09 +0000 (14:47 +0000)]
bitkeeper revision 1.1159.249.1 (4208d0edi9hSgBaQl0hrDcYiEH0yxg)

blktap driver fixes:
Allow the tap to terminate a block device (not need a backend).
Allow it to run in dom0.
Forward control messages to user space as well.

Signed-off-by: akw27@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.127 (4208b02bTdSR4AVYRg8diDkKZmIVUg)
mafetter@fleming.research [Tue, 8 Feb 2005 12:27:23 +0000 (12:27 +0000)]
bitkeeper revision 1.1159.212.127 (4208b02bTdSR4AVYRg8diDkKZmIVUg)

General shadow code cleanup.

Fixed compilation problems when SHADOW_DEBUG is enabled.
Fixed compilation problems when CONFIG_VMX is undefined.

Simplified l1pte_write_fault and l1pte_read_fault.
Name change: spfn => smfn (shadow machine frame numbers).

In general, the terms pfn and gpfn now refer to pages in the
guest's idea of physical frames (which diffs for full shadow
guests).  mfn always refers to a machine frame number.

One bug fix for check_pagetable():
If we're using writable page tables
along with shadow mode, don't check the currently writable page table
page -- check its snapshot instead.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.126 (42089d5esMXb54hvuQX14wvXnCm18w)
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 11:07:10 +0000 (11:07 +0000)]
bitkeeper revision 1.1159.212.126 (42089d5esMXb54hvuQX14wvXnCm18w)

Various hypercall fixes for x86_64.
Main todos: 1. mmu_updates/update_va_mapping hypercalls.
            2. map perdomain_pt into Xen address space.
            3. exception/interrupt callbacks to guest OS.
            4. user-space ring 3 vs. guest-OS ring 3.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.125 (42082eb7N-IslXNUjMvYswTnizJdsw)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:15:03 +0000 (03:15 +0000)]
bitkeeper revision 1.1159.212.125 (42082eb7N-IslXNUjMvYswTnizJdsw)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:14:41 +0000 (03:14 +0000)]
bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)

Fix to memory debugging audit code.

Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:10:00 +0000 (03:10 +0000)]
bitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)

Fix to memory debugging audit code.

Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:12:21 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk

21 years agobitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:11:57 +0000 (02:11 +0000)]
bitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)

Some cleanups:

- Use ENTRIES_PER_L1_PAGETABLE instead of ENTRIES_PER_L2_PAGETABLE
- Use PAGE_SHIFT instead of L1_PAGETABLE_SHIFT

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:17:20 +0000 (01:17 +0000)]
bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:16:50 +0000 (01:16 +0000)]
bitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)

This very simple patch is really just cosmetic.  It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log.  I'm not sure who should sign off
on this, but the patch is attached.

From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.121 (42081031Gcfd1G5fgexBl7vd4XfmLQ)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:04:49 +0000 (01:04 +0000)]
bitkeeper revision 1.1159.212.121 (42081031Gcfd1G5fgexBl7vd4XfmLQ)

Use 1:1 pagetables used for guest physical mode emulation for doing
phys_to_machine_mapping as well.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.120 (42080fdeqkhdPXOxk9B5egncOrellQ)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:03:26 +0000 (01:03 +0000)]
bitkeeper revision 1.1159.212.120 (42080fdeqkhdPXOxk9B5egncOrellQ)

Make phys_to_machine_mapping a static inline function.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.119 (42080936hYySAGh0O5TePVvGrzAKtA)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:35:02 +0000 (00:35 +0000)]
bitkeeper revision 1.1159.212.119 (42080936hYySAGh0O5TePVvGrzAKtA)

Enable PCI.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:32:45 +0000 (00:32 +0000)]
bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)

- Detect the CPU speed automatically, rather than having the user
  specify a ips in bochsrc. The user can still specify it to override
  the auto-detected value.

- Care should be taken to make sure that tsc_per_bx_tick is not too
  small or too big. Otherwise, numerical precision issues may result
  in the wrong calculation of elapsed time

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.117 (4208081dSxJads7MU6-VcXvC6TNMjQ)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:30:21 +0000 (00:30 +0000)]
bitkeeper revision 1.1159.212.117 (4208081dSxJads7MU6-VcXvC6TNMjQ)

- Use a more appropriate path for disk images
- Add a 1 GB disk image as an option

From: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.116 (4208079bssB3TTrruGComoEvhNrq9Q)
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:28:11 +0000 (00:28 +0000)]
bitkeeper revision 1.1159.212.116 (4208079bssB3TTrruGComoEvhNrq9Q)

Fix some of the time virtualization issues.

- Compute the elapsed time correctly in the cpu loop
- Try to inject interrupts in the vmexit handler

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
21 years agobitkeeper revision 1.1159.212.115 (4207c574hv18R_VTm-3a9w_AZzNBWw)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:45:56 +0000 (19:45 +0000)]
bitkeeper revision 1.1159.212.115 (4207c574hv18R_VTm-3a9w_AZzNBWw)

Force hypercall continuation arguments to size of longs.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.114 (4207bda3k03bdnnP3uGkOvKhmXjbkg)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:12:35 +0000 (19:12 +0000)]
bitkeeper revision 1.1159.212.114 (4207bda3k03bdnnP3uGkOvKhmXjbkg)

Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:11:33 +0000 (19:11 +0000)]
bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)

Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:54 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:22 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)

Don't let xend throw away stderr...

21 years agobitkeeper revision 1.1159.212.112 (4207b382VvZgSA3Pg79SQESssYJbHQ)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 18:29:22 +0000 (18:29 +0000)]
bitkeeper revision 1.1159.212.112 (4207b382VvZgSA3Pg79SQESssYJbHQ)

More x86_64 fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.111 (4207a372uscrEafJDzNOVuj8gyt_Fw)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 17:20:50 +0000 (17:20 +0000)]
bitkeeper revision 1.1159.212.111 (4207a372uscrEafJDzNOVuj8gyt_Fw)

SYSCALL fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.110 (42079080u5EKN2Dp7MbOEM7lnEs4gg)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 16:00:00 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.212.110 (42079080u5EKN2Dp7MbOEM7lnEs4gg)

Various bug fixes, and NMI/DF improvements for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.109 (42078e8e1-3RnmEqHbanC69txgXoZQ)
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:51:42 +0000 (15:51 +0000)]
bitkeeper revision 1.1159.212.109 (42078e8e1-3RnmEqHbanC69txgXoZQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:48:40 +0000 (15:48 +0000)]
bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)

As pointed out on the xen-devel list, the vm86 call was not very robust in
Xen.
It turned out to be due to a missing check in the pagefault handler,
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.

From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.212.108 (42077fd0S_urmaLkjaFnGgMRPjUCMA)
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:48 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.108 (42077fd0S_urmaLkjaFnGgMRPjUCMA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk

21 years agobitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)

Don't memcpy the arch specific bit of exec_domain from the idle task's.
This caused the ctxt->pt_base !=0 error when starting new domains.

21 years agobitkeeper revision 1.1159.212.107 (420757d1DdfFUXGMssAN0f_k_jSJvA)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:58:09 +0000 (11:58 +0000)]
bitkeeper revision 1.1159.212.107 (420757d1DdfFUXGMssAN0f_k_jSJvA)

Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk

21 years agobitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:57:29 +0000 (11:57 +0000)]
bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)

Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
21 years agobitkeeper revision 1.1159.1.544 (4207248crq3YxiyLWjUehtHv_Yd3tg)
smh22@tempest.cl.cam.ac.uk [Mon, 7 Feb 2005 08:19:24 +0000 (08:19 +0000)]
bitkeeper revision 1.1159.1.544 (4207248crq3YxiyLWjUehtHv_Yd3tg)

Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk